<template>
	<view class="">
		<view class="he1 w100pc"></view>
		<!-- 头部 -->
		<view class="fsb lrmg-30" style="height: 100rpx;">
			<image src="/static/image/9.png" style="width:86rpx;height:50rpx" class="" @click="pageback()"></image>
			<view class="flex aic">
			</view>
		</view>
		<view class="he3 w100pc"></view>
		<view class="lrmg-40">
			<view class="gray272 weight f30">{{id == 1 ? '生态' : id == 2 ? '玩法介绍' : id == 3 ? '关于MMST' : '联系我们'}}</view>
			<view class="u-content" style="padding: 40rpx 20rpx;">
				<u-parse :html="text" :domain="getRequestUrl"></u-parse>
			</view>
		</view>
	</view>
</template>

<script>
	var	that
	import {
		_updataTabBar,
		pageto,
		pageback
	} from "../../common/js/sysfun.js"
	import {
		mapGetters,
		mapMutations
	} from 'vuex'
	export default{
		data(){
			return{
				text:'',
				id:0
			}
		},
		onLoad(e) {
			that = this
			that.id = e.id
			that.get()
		},
		computed: {
			i18n() {
				return this.$t('message');
			},
			...mapGetters([
				'getRequestUrl',
				'getLangType',
				'getTextArr',
				'getLoginInfo'
			])
		},
		methods:{
			get(){
				that.$postAjax('api/index/sys_article',{id:that.id},function(res){
					console.log(res);
					that.text = res.data
				})
			},
			pageto(url, pp) {
				pageto(url, pp);
			},
			pageback(){
				pageback()
			}
		}
	}
</script>

<style lang="scss">
	/deep/.u-content {
		p{
			line-height: 1.8;
		}
		
	}
</style>